package com.mengwen.backstage.service.impl;

import com.mengwen.backstage.mapper.WithdrawMapper;
import com.mengwen.backstage.pojo.Withdraw;
import com.mengwen.backstage.service.WithdrawService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author LiangYonghui
 * @date 2020/4/8 14:58
 * @description 提现业务层实现类
 */
@Transactional
@Service
public class WithdrawServiceImpl implements WithdrawService {

    @Autowired
    WithdrawMapper withdrawMapper;

    @Override
    public Integer addTerm(Withdraw withdraw) {
        return withdrawMapper.addTerm(withdraw);
    }
}
